package com.meisupic.copyright.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @Author lanjian
 * @Date 2018/3/14 上午11:09
 */

@Data
public class MonitorResultVo implements Serializable {

  private Long id;

  private Long monitorRecordId;

  private String workImgUrl;

  private String pageUrl;

  private String resultImgUrl;

  private BigDecimal similarity;

  private Boolean ingoreStatus;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  private Date createTime;

  private String ingoreStatusName;

  public String getIngoreStatusName() {
    return ingoreStatus ? "已忽略" : "疑似被侵权";
  }
}
